package com.example.carrierapp.ui.person.notice;

import com.example.carrierapp.base.BaseView;
import com.example.carrierapp.bean.home.NoticeDetailBean;
import com.example.carrierapp.bean.home.NoticeListBean;

public interface NoticeContract {
    interface Presenter {

        void getNoticeList(int page);

        void getNoticeDetail(int id);
    }

    interface View extends BaseView {
        void getNoticeListSuccess(NoticeListBean bean);

        void getNoticeListFailde(String msg);

        void getNoticeDetailSuccess(NoticeDetailBean bean);

        void getNoticeDetailFailed(String msg);

    }
}
